package com.idea.ideapad.client;

import com.google.gwt.core.client.EntryPoint;

import com.google.gwt.user.client.ui.RootPanel;
//import com.idea.Idea;
//import com.idea.IdeaDO;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class main implements EntryPoint {
	
	public void onModuleLoad() {
		
		//RootPanel rootPanel = RootPanel.get();
		
		IdeaDO newIdeaData = new IdeaDO("Building InnovationHero!", "http://http://a0.twimg.com/profile_images/1246442884/187561_784250067_4936686_n.jpg");
		Idea newIdea = new Idea(newIdeaData);
		RootPanel.get().add(newIdea);
		
	}
}
